using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    [Serializable]
    public class MemberInfo
    {
        // Fields
        private int iMemberID;
        private string sEmail;
        private string sIsdel;
        private string sLogin_Name;
        private string sPassword;
        private string sTelephone;
        private string sUser_Name;

        // Methods
        public MemberInfo()
        {
        }

        public MemberInfo(string user_name, string login_name, string password, string email, string telephone)
        {
            this.sUser_Name = user_name;
            this.sLogin_Name = login_name;
            this.sPassword = password;
            this.sEmail = email;
            this.sTelephone = telephone;
        }

        public MemberInfo(int member_id, string user_name, string login_name, string password, string email, string telephone)
        {
            this.sUser_Name = user_name;
            this.sLogin_Name = login_name;
            this.sPassword = password;
            this.sEmail = email;
            this.sTelephone = telephone;
            this.iMemberID = member_id;
        }

        public MemberInfo(int member_id, string user_name, string login_name, string password, string email, string telephone, string isdel)
        {
            this.sUser_Name = user_name;
            this.sLogin_Name = login_name;
            this.sPassword = password;
            this.sEmail = email;
            this.sTelephone = telephone;
            this.iMemberID = member_id;
            this.sIsdel = isdel;
        }

        // Properties
        public string Email
        {
            get
            {
                return this.sEmail;
            }
        }

        public string IsDel
        {
            get
            {
                return this.IsDel;
            }
        }

        public string LoginName
        {
            get
            {
                return this.sLogin_Name;
            }
        }

        public int MemberID
        {
            get
            {
                return this.iMemberID;
            }
        }

        public string Password
        {
            get
            {
                return this.sPassword;
            }
        }

        public string Telephone
        {
            get
            {
                return this.sTelephone;
            }
        }

        public string UserName
        {
            get
            {
                return this.sUser_Name;
            }
        }

    }
}
